home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3-D Body Adventure
/
3-D Body Adventure (1994)(Knowledge Adventure).iso
/
zzzinst.bat
< prev
next >
Wrap
DOS Batch File
|
1994-05-08
|
1KB
|
29 lines
@echo off
rem This batch file is not meant to be used directly.
if "%1"=="-drive" goto gotdrive
zzzinst1 %1 %2 %3 %4 %5 %6 %7
if errorlevel 99 goto reallyquit
if errorlevel 1 goto reallyquit
goto reinvoke
:gotdrive
zzzinst1 %3 %4 %5 %6 %7 %8 %9
if errorlevel 99 goto quitdrive
if errorlevel 1 goto reallyquit
:reinvoke
rem Reinvoke this batch file indirectly. Current drive and directory
rem point to the product that was last installed, which created a
rem zzzret.bat.
rem This zzzret.bat changes drive and directory to the cd-rom,
rem then executes
rem "zzzinst -drive driveletter: any options passed to setup"
rem If no -N option is passed to setup, setup adds -N 9999.
rem zzzinst1.scr uses -N to tell itself on the next run which menuitem
rem to highlight.
.\zzzret
:quitdrive
rem If the user selects quit, and we have already installed something,
rem change to the drive that was installed to. We know this only
rem because we were invoked -drive driveletter:
%2
:reallyquit